﻿using BCMongoEntity.StatisticsRequest;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCMongoService.StatisticsRequest
{
    /// <summary>
    /// 统计请求
    /// </summary>
    public interface IStatisticsRequestMongoService
    {
        /// <summary>
        /// 追加统计请求信息
        /// </summary>
        /// <param name="statisticsRequestEntity">统计请求信息</param>
        /// <returns></returns>
        void Append(StatisticsRequestEntity statisticsRequestEntity);

        /// <summary>
        /// 更新统计请求信息
        /// </summary>
        /// <param name="statisticsRequestEntity">统计请求信息</param>
        /// <returns></returns>
        void Update(StatisticsRequestEntity statisticsRequestEntity);

        /// <summary>
        /// 更新统计请求信息
        /// </summary>
        /// <param name="statisticsRequestEntity">统计请求信息</param>
        /// <returns></returns>
        StatisticsRequestEntity Get(int year,int month,int day,string accessApiName);


    }
}
